package liyh.bridge.circle.shape.ex;

import liyh.bridge.circle.Circle;
import liyh.bridge.circle.shape.CircleShape;

public class ColorCircle extends CircleShape {

    private int radius, x, y;

    public ColorCircle(int x, int y, int radius, Circle circle) {
        super(circle);
        this.x = x;
        this.y = y;
        this.radius = radius;
    }

    public void draw() {
        circle.draw(radius, x, y);
    }
}
